﻿@namespace Masa.Docs.Core.Components

<AppCode Id="@Id" Class="@Class" Code="@Code" Language="@Language" FileName="@FileName" LineHighlights="@LineHighlights" RoundedTop0="RoundedTop0" IsUsage="@IsUsage" />

@code {

    [Parameter]
    [EditorRequired]
    public string? Code { get; set; }

    [Parameter]
    [EditorRequired]
    public string? Language { get; set; }

    [Parameter]
    public string? FileName { get; set; }

    [Parameter]
    public string? LineHighlights { get; set; }

    [Parameter]
    public string? Id { get; set; }

    [Parameter]
    public string? Class { get; set; } = "my-0";

    [Parameter]
    public bool RoundedTop0 { get; set; }

    [Parameter]
    public bool IsUsage { get; set; }
}
